/**
Date: 2025-08-13
Copyright (c) 2025 Industrial Software Feature Database
*/
import request from '@/utils/request';
// 算法
// 查询算法配置存储列表
export function getAlgorithmConfigList(query) {
    return request({
        url: '/isfd/algorithmConfig/list',
        method: 'post',
        data: query
    });
}
// 新增
export function addAlgorithmConfig(param) {
    return request({
        url: '/isfd/algorithmConfig',
        method: 'post',
        data: param
    });
}
// 修改
export function updateAlgorithmConfig(param) {
    return request({
        url: '/isfd/algorithmConfig',
        method: 'put',
        data: param
    });
}
// 删除
export function deleteAlgorithmConfig(ids) {
  return request({
    url: '/isfd/algorithmConfig/'+ids,
    method: 'delete',
  }); 
}

// 详情
export function getAlgorithmConfigDetail(id) {
  return request({
    url: '/isfd/algorithmConfig/'+id,
    method: 'get',
  }); 
}

// 导出
export function exportAlgorithmConfig(query) {
  return request({
    url: '/isfd/algorithmConfig/export',
    method: 'post',
    data: query,
    responseType: 'blob' // 确保返回的是二进制数据
  }); 
}






